import React from 'react';
import { createStackNavigator,createAppContainer,createBottomTabNavigator } from 'react-navigation';
import ScreenHome from "../screens/ScreenHome";
import ScreenHome1 from "../screens/ScreenHome1";

const AppNavigator1 = createStackNavigator({
    ScreenHome : {
        screen:ScreenHome
    },
    ScreenHome1 : {
        screen:ScreenHome1
    }
});

const AppNavigator2 = createStackNavigator({
    ScreenHome : {
        screen:ScreenHome
    },
    ScreenHome1 : {
        screen:ScreenHome1
    }
});

const AppBomTab = createBottomTabNavigator({
    TabOne : AppNavigator1,
    TabTwo : AppNavigator2,
});


export default createAppContainer(AppBomTab);